import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import lazyLoad from "vue-lazyload"


Vue.config.productionTip = false
Vue.use(MintUI)
const loadImage = require('./assets/lazyLoad.jpg');
Vue.use(lazyLoad, {
    preLoad: 1.3, //预加载的宽高比
    loading: loadImage, //图片加载状态下显示的图片
    //error: errorimage, //图片加载失败时显示的图片
    attempt: 2, // 加载错误后最大尝试次数
})


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')